/**
 * 
 */
package com.sihai.ehr.web.action.share;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;

import com.sihai.core.beans.BeanInject;
import com.sihai.ehr.web.action.EHRAction;

/**
 * @author wxn
 */
@Results({
	@Result(name = "modify", location = "info_modify.jsp"),
	@Result(name = "index", location = "/WEB-INF/pages/apply.jsp"),
	@Result(name = "input", location = "info_modify.jsp"),
	@Result(name = "relog", type = "redirectAction", params = { "actionName", "logout.xhtml" })
	})
public class UserAction extends EHRAction {

	private static final long serialVersionUID = 2121333028480225454L;

	@Action("/share/user")
	public String get() {
		
		return "modify";
	}
	
	@Action("/share/user-modify")
	public String modify() {
		return "index";
	}
}
